package com.example.demo.bean;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.extension.activerecord.Model;

import java.io.Serializable;

/**
 * <p>
 * 
 * </p>
 *
 * @author 京平笙
 * @since 2021-12-06
 */
public class Product  extends Model<Product> implements Serializable {

    private static final long serialVersionUID = 1L;

	/**
	 * 商品编号
	 */
	private Integer pid;

	/**
	 * 商品名
	 */
	private String pname;

	/**
	 * 商品价格
	 */
	private Integer pprice;

	/**
	 * 地址
	 */
	private String paddress;



	public Integer getPid() {
		return pid;
	}

	public void setPid(Integer pid) {
		this.pid = pid;
	}

	public String getPname() {
		return pname;
	}

	public void setPname(String pname) {
		this.pname = pname;
	}

	public Integer getPprice() {
		return pprice;
	}

	public void setPprice(Integer pprice) {
		this.pprice = pprice;
	}

	public String getPaddress() {
		return paddress;
	}

	public void setPaddress(String paddress) {
		this.paddress = paddress;
	}

	@Override
	public String toString() {
		return "Product{" +
				"pid=" + pid +
				", pname='" + pname + '\'' +
				", pprice=" + pprice +
				", paddress='" + paddress + '\'' +
				'}';
	}
}
